Tính toán gần đúng cho xác suất Poisson Phân_phối_Poisson

Khi k lớn (>20) việc sử dụng xấp xỉ hàm logarit và lũy thừa là cần thiết. Ví dụ sau viết bằng Java.

/**Calculates an approximation of the Poisson probability. * @param mean - lambda, the average number of occurrences * @param observed - the actual number of occurences observed * @return ln(Poisson probability) - the natural log of the Poisson probability. */public static double poissonProbabilityApproximation (double mean, int observed) {	double k = observed;	double a = k * Math.log(mean);	double b = -mean;	return a + b - factorialApproximation(k);}/**Srinivasa Ramanujan ln(n!) factorial estimation. * Good for larger values of n. * @return ln(n!) */public static double factorialApproximation(double n) {	if (n < 2.) return 0;	double a = n * Math.log(n) - n;	double b = Math.log(n * (1. + 4. * n * (1. + 2. * n))) / 6.;	return a + b + Math.log(Math.PI) / 2.;}

Tài liệu tham khảo

WikiPedia: Phân_phối_Poisson http://www.eventhelix.com/RealtimeMantra/Congestio... http://www.eventhelix.com/RealtimeMantra/Congestio... http://xkcd.com/c12.html http://www.elektro-energetika.cz/calculations/po.p... http://qwiki.caltech.edu/wiki/Poisson_Derivation_1 http://qwiki.caltech.edu/wiki/Poisson_Derivation_2 http://qwiki.caltech.edu/wiki/Poisson_Derivation_3 http://qwiki.caltech.edu/wiki/Poisson_Distribution http://www.stat.tamu.edu/~jhardin/applets/signed/P... http://www.itl.nist.gov/div898/handbook/eda/sectio...